#include <stdio.h>
int main()
{
   int a;
   int b;
   int f(int x,int y);
   printf("输入要求哪两个数的最小公倍数");
   scanf("%d,%d",&a,&b);
   printf("是：%d",f(a,b));
return 0;
}

int f(int x,int y)
{int z;
 int p;
 int c;
 p=x*y;
 z=x%y;
 while(z!=0)
 {
   x=y;
   y=z;
   z=x%y;
 }
 c=p/y;
 return c;
}